// SimpleExpression.h: interface for the SimpleExpression class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_SIMPLEEXPRESSION_H__A551ABA4_36FE_450A_B850_FFCE99367C3F__INCLUDED_)
#define AFX_SIMPLEEXPRESSION_H__A551ABA4_36FE_450A_B850_FFCE99367C3F__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "Variable.h"
#include "PropertyStack.h"

namespace PropertySystem
{
	class __declspec(dllexport) SimpleExpression  
	{
	public:
		SimpleExpression(const CString& strExpression, PropertyStack* pStack);
		virtual ~SimpleExpression();
	
	public:
		Variable Caculate();

	private:
		CString m_strExpression;
		PropertyStack* m_pStack;
	};
};
#endif // !defined(AFX_SIMPLEEXPRESSION_H__A551ABA4_36FE_450A_B850_FFCE99367C3F__INCLUDED_)
